from llama_index.core.schema import Document,TextNode,MetadataMode
from llama_index.core import SimpleDirectoryReader
texts = ["This is a test","This is another test","This is a third test"]
docs = [Document(text=text) for text in texts]
print(docs)

# docs = SimpleDirectoryReader('F:\\datas\\nlp\\docs').load_data()
# print(docs)

